package service;

/**
 * @author zhu_shuai
 * @since 8/4
 */
public class User implements IUserService {
    private String userName;

    @Override
    public String getUserName() {
        System.out.printf("------获取用户名：%s-------%n", userName);
        return this.userName;
    }

    @Override
    public void setUserName(String name) {
        System.out.printf("-------设置用户名：%s-----%n", name);
        this.userName = name;
    }
}
